package com.work.test;

@SuppressWarnings("all")
public class T1  {
    public static void main(String[] args) {
        fact fact = new fact();
        fact.recur(20);
    }
}

class fact{
    public void recur(int num){
        long res = 1;
        for (int i=1;i<=num;i++){
            res *= i;
            System.out.printf("%d != %d\n",i,res);
        }
    }
}